﻿using Microsoft.AspNetCore.Builder;

namespace Yyd.Security.ClientIp
{
    public static class ClientIpCheckApplicationBuilderExtensions
    {
        public static IApplicationBuilder UseClientIpCheck(this IApplicationBuilder app)
        {
            return app
                .UseMiddleware<ClientIpCheckMiddleware>();
        }
    }
}
